package top.jiangqiang.qyblog.common.constant;

/**
 * 缓存key的前缀
 *
 * @author jiangqiang
 * @date 2022-07-30
 */
public class CacheConstants {
    //验证码缓存key
    public final static String CAPTCHA = "sys:captcha:";
    //用户信息key前缀
    public final static String USER_INFO = "sys:user:info:";
    //用户token key
    public final static String USER_TOKEN = "sys:user:token:";
    //cms导航菜单缓存
    public final static String CACHE_CMS_MENU = "cms:menu:";
    //cms文章缓存
    public final static String CACHE_CMS_ARTICLE = "cms:article:";
    //cms指令PostList缓存
    public final static String CACHE_CMS_DIRECTIVE_POST_LIST = "cms:directive:post_list:";
    //cms服务类缓存
    public final static String CACHE_CMS_CMS_SERVICE = "cms:cms_service:";
}
